package com.hmsg.health.bean.domain;

import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.data.annotation.Persistent;
import lombok.Data;
@Data
@ApiModel
public class UserDo {
    @ApiModelProperty(value = "ID")
	private Integer id;
    @ApiModelProperty(value = "用户昵称")
    private String userName;
    @ApiModelProperty(value = "手机号")
    private String mobile;
    @ApiModelProperty(value = "头像")
    private String headImage;
    @ApiModelProperty(value = "性别1是男，2是女")
    private Integer sex;

    @ApiModelProperty(value = "OPENID")
    private String birth;
    
    @ApiModelProperty(value = "邀请码")
    private String uniqueId;
    @ApiModelProperty(value = "注册时间")
    private Date createTime;
    @ApiModelProperty(value = "用户等级")
    private Integer isVip;
    @ApiModelProperty(value = "vip到期时间")
    private Date vipEnd;
    @ApiModelProperty(value = "邀请码")
    private String deviceToken;
    @Persistent
    private UserAccountDo ua;
    @Persistent
    private String accessToken;
    @ApiModelProperty(value = "是否签到")
    private Integer isSign;
    @ApiModelProperty(value = "连续签到天数")
    private Integer count;
    @ApiModelProperty(value = "是否分享")
    private Integer isShare;
    @ApiModelProperty(value = "是否被邀请")
    private Integer isBeInvite;
    @ApiModelProperty(value = "是否邀请过别人")
    private Integer isInvite;
    @ApiModelProperty(value = "是否发布过任务")
    private Integer isDeploy;

    
   
}
